(function(){
	if(!window.JSON){
		alert("不支持低版本的IE浏览器");
		return;
	}
	window.V="v=1.2";
	require.config({
		"urlArgs":V,//解决JS服务器文件更新 本地浏览器缓存问题
		"baseUrl":"js",
		"paths":{
			"string":"diqye/string",
			"jquery":"lib/jquery-1.7.2.min",
			"bootstrap":"lib/bootstrap.min",
			"jext":"lib/jquery-tpl-ext",
			"tpl":"lib/tpl",
			"cmn":"controller/common",
			"validate":"lib/jquery-validate",
			"bd1":"biduEditor/umeditor.config",
			"bde":"biduEditor/umeditor.min"
		},
		"shim":{
			"bootstrap":{
				"deps":["jquery"],
				"exports":"$"
			},
			"bde":{
				"deps":["bd1"],
				"exports":"UM"
			}
		}
	});
	if(window.HOME==null||HOME=="")return;
	require(["jext","bootstrap","validate","lib/validateMap","render"],function(j,$){
		require([HOME],function(obj){
			var body=$(document.body);
			obj.el=body;
			obj.init();
		});
	});
})();